package com.example.dg.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class Entity {
    private String id;
    private String name;
    private String typeId;
    private String kg;
    private String img;
    private String img2;
    private String img3;
    private BigDecimal price;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date date;
    private String cf_id;
    private String english;
    private Type type;
    private Fl fl;
    private Kg k;
}
